package com.qing.common.utils;

import java.time.LocalDateTime;

import java.time.ZoneOffset;

/**
 * @author guoqf
 */
public class LocalDataTimeTest {
    public static void main(String[] args) {
        long nano = LocalDateTime.now().toEpochSecond(ZoneOffset.ofHours(8));

        System.out.println(nano);
        System.out.println(System.currentTimeMillis()/1000);
    }
}
